<div class="wrapper">

    <div class="clearfix" id="top">

        <ul>

            <li>Tel: <strong class="link">+382 33 454 841</strong></li>
            <li>E-mail: <a href="mailto:apolotours@t-com.me">apolotours@t-com.me</a></li>
            <li><a href="#"><?= lang('top.about'); ?></a></li>
            <li><a href="javascript:"><span class="flag <?= isset($_GET['currency']) ? strtolower($_GET['currency']) : 'eur'; ?>"></span><?= lang('top.currency'); ?></a>
                <ul>
                    <li><a href="<?= base_url($this->uri->uri_string() . $template_currency . $currency_prefix . 'currency=EUR'); ?>"><span class="flag eur"></span>EUR</a></li>
                    <li><a href="<?= base_url($this->uri->uri_string() . $template_currency . $currency_prefix . 'currency=RUB'); ?>"><span class="flag rub"></span>RUB</a></li>
                    <li><a href="<?= base_url($this->uri->uri_string() . $template_currency . $currency_prefix . 'currency=USD'); ?>"><span class="flag usd"></span>USD</a></li>
                </ul>
            </li>
            <li><a href="javascript:"><span class="flag <?= $this->lang->mci_current(); ?>"></span><?= lang('top.language'); ?></a>
                <ul>
                    <li><a href="<?= base_url(lchange('en')) . $template_lang ?>"><span class="flag en"></span>English</a></li>
                    <li><a href="<?= base_url(lchange('me')) . $template_lang ?>"><span class="flag me"></span>Crnogorski</a></li>
                    <li><a href="<?= base_url(lchange('ru')) . $template_lang ?>"><span class="flag ru"></span>Rусский</a></li>
                    <li><a href="<?= base_url(lchange('de')) . $template_lang ?>"><span class="flag de"></span>Deutsch</a></li>
                </ul>
            </li>

        </ul>
    </div>

    <div id="header" class="clearfix">

        <div class="responsive-icon"></div>

        <a href="<?= $template_logo_URL ?>" id="logo"><?= lang('specialist_vaction'); ?></a>

        <div id="custom_search">
            <form action="<?= lang_url('search') ?>" method="get" class="clearfix" id="custom_form"> 
                 <? if (isset($_GET['currency'])): ?>
                <input type="hidden" value="<?=$_GET['currency']?>" name="currency">
            <? endif; ?>
                <input type="hidden" name="preview" value="1">
                <input type="text" id="custom_dest_hot" name="dest_hot" value="<?= lang('top.custom_search'); ?>"> 
                <input type="submit" value="Search" class="btn">
            </form>
        </div>

    </div>

</div>

<div class="wrapper">
    <nav class='clearfix'>
        <ul class='clearfix'>
            <li class="active">
                <span></span>
                <a href="<?= $template_logo_URL ?>"><img src="<?= base_url() ?>assets/img/home-icon-black.png"></a>

            </li>
            <li><span></span>
                <a href="<?= lang_url('search') ?>?acc_type=appartment&preview=1"><?= lang('nav.private'); ?></a>
                <div>
                    <h3>Private accommodation in Montenegro</h3>
                    <? $this->load->view('parts/home/top_destination_dropdown', array('type' => 'accommodations_count', 'acc_type' => 'apartment')) ?>
                </div>
            </li>
            <li><span></span><a href="<?= lang_url('search') ?>?acc_type=authentic accommodation&preview=1"><?= lang('nav.holiday_homes'); ?></a>
                <div>
                    <h3>Holiday homes in Montenegro</h3>
                    <? $this->load->view('parts/home/top_destination_dropdown', array('type' => 'authentic_count', 'acc_type' => 'authentic accommodation')) ?>
                </div>
            </li>
            <li><span></span><a href="<?= lang_url('search') ?>?acc_type=hotel&preview=1"><?= lang('nav.hotels'); ?></a>
                <div>
                    <h3>Hotels in Montenegro</h3>
                    <? $this->load->view('parts/home/top_destination_dropdown', array('type' => 'hotels_count', 'acc_type' => 'hotel')) ?>
                </div>
            </li>
            <li><span></span><a href="#"><?= lang('nav.excursions'); ?></a></li>
            <li><span></span><a href="#"><?= lang('nav.rentacar'); ?></a></li>
            <li><span></span><a href="#"><?= lang('nav.transfers'); ?></a></li>
            <li><span></span><a href="#"><?= lang('nav.other_services'); ?></a></li>
            <li><span></span><a href="#"><?= lang('nav.guide'); ?></a></li>
        </ul>
    </nav>
</div>